<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>单选</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>

</head>
<body>
    <div id="app">
        <h1>{{radio}}</h1>
        <input type="radio" id="apple" :value="{name:'苹果'}" v-model="radio">
        <label for="apple">苹果</label>
        <input type="radio" id="banana" :value="banana" v-model="radio">
        <label for="banana">香蕉</label>
        <input type="radio" id="orange" value="橙子" v-model="radio">
        <label for="orange">橙子</label>
       
    </div>
    <script>
       var app = new Vue({
           el:"#app",
           data:{
            radio:"",
            banana:"香蕉"
           }
       });
    </script>
</body>
</html>